home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Collections: Franz PD
/
Franz PD Disk #279 (1993)(Rhein-Sieg-Soft).zip
/
Franz PD Disk #279 (1993)(Rhein-Sieg-Soft).adf
/
ak_gen0-lib_V38.20.LHA
/
ak_gen0-library
/
AK_GEN0-Lib_ENG.doc
< prev
next >
Wrap
Text File
|
1993-10-17
|
8KB
|
282 lines
ak_gen0.library V38.20
- FREEWARE -
© 1989-93 by Andreas R. Kleinert. All rights reserved.
This program was written under OS V3.00 and is therefore
fully compatible. It needs OS >= V1.2.
Next generation of the "ak.library".
Release Date : 17.10.1993
Copyright :
===========
The program ak_gen0.library V38.20 and its documentation files are
(C)opyright 1989-93 by Andreas R. Kleinert. All rights reserved.
The "ak_gen0.library" may be used for own program projects, if those
are PUBLIC DOMAIN or FREEWARE.
Programmers of SHAREWARE, which charge a share-fee higher than 20,-DM
(or $15), or programmers of commercial programs have to get the explicite
permission of the author (me) to use the library. Contact me to get
informed about my conditions.
Disclaimer :
============
The author takes no responsibility for any results of the use of this
program.
This software is provided "AS IS" and there is no warranty of any kind,
so that you use this software at your own risk.
Distribution :
==============
The program ak_gen0.library V38.20 is freely distributable (FREEWARE).
You may copy it, if the copyright notice is left intact and
all of its parts are included in the distribution.
This program must not be included in commercial packages or commercial
program collections without my written permission.
This program must not be sold in any way, but it is allowed to take
a nominal fee including the costs for copying.
This program may be put on public domain disks or included in public
domain disk libraries.
Special permission hereby goes to Fred Fish's AmigaLib-Disks and
the german series TAIFUN, FRANZ, TIME, GPD and Amiga Szene.
This program may also be distributed via electronic mail and may be
put into mailboxes as long as the redistribution conditions are
respected in all points.
By using or distributing this program you automatically agree to
all of the above conditions and terms.
Functions :
===========
The "ak_gen0.library" is used in many of my programs and it consists of
many functions, which make programming much easier (e.g. the programming
of "Intuition").
Installation :
==============
Just copy the "ak_gen0.library" into your "LIBS:"-directory.
Usage :
=======
The "ak_gen0.library" uses STACK-Parameters and therefore cannot be
used with AmigaBASIC. It has been developed for SAS/C and compatible
Programming Languages.
The "ak_gen0.library" consists of ...
- Functions for comfortable opening of Windows and Screens
- Functions for simple creation of Gadgets, Menus, Submenus, etc.
- Functions for simple print-out of Texts
- an easy to handle FileRequester, which is completely managed by the
Library
(under OS V2.04+ the FileRequester of the "asl.library" is called
instead)
- an easy to handle ScreenMode-Requester, which is completely managed
by the Library
(under OS V2.1+ the ScreenModeRequester of the "asl.library" is called
instead)
- a random-number generator
- Functions to wait for special events as "Left Mousebutton pressed"
or "Key ??? pressed"
- etc.
Read the file "AK_GEN0-Lib_Reference.doc", to get a full description of
its functions.
Note : The "ak_gen0.library" makes use of some of Exec's "Lists&Nodes"-
functions. If your OS-Version is "buggy" inside these, try
to use "SetPatch Vx.xx".
Correspondence :
================
If you like, you may send me some money. Perhaps this will motivate me
to continue programming such programs or just making updates of
this one. Send bug-reports, money or whatever to :
Andreas R. Kleinert,
Grube Hohe Grethe 23,
D-57074 Siegen,
Germany. email : ...
History :
=========
V38.20 :
-------
- added support for ASL-ScreenMode-Requester (OS V2.1+/V38+)
- fixed some small bugs and improved some small things
- Includes changes
- use of SAS/C V6.3
- Programmers Note : Increase your specific ak_gen0.library minimum to
V38. Versions equal or smaller than V37 should no longer be used.
V38.1 :
-------
- "code-splitting"
- "new look" for Prop-Gadgets under Intuition V37+
- fixed Mode-Names under OS 1.3 :
Lores [Interlace] -> LowRes [Interlace]
Hires [Interlace] -> HighRes [Interlace]
- ModeRequester now also recognizes PAL and NTSC under
OS 1.3
- new Default-Flag (AKBase) for the ModeRequester :
Use of the "real" MaxOverScan-Values (-1*MinX + MaxX, ...)
as Maximum Values for Width and Height.
Example :
HighRes 724x283 instead
of 652x268
- the Function "AK_ReadDir()" (OBSOLETE) now internally uses
also "AK_GetDirList()" / "AK_FreeDirList()", while
value -1 is returned if an error occurs.
This should be compatible, because anyway there's only the
following possible way to read the data
for(i=0; i<=count; i++) printf("%s (%ld)", direntry[i], dirtype[i]);
from the structures.
- four new functions for memory management :
- AK_GetMemList
allocates list for memeory management
- AK_FreeMemList
allocates list for memeory management and memory entries
- AK_AddMemEntry
adds an entry to the list
(if not possible, memory will be delocated)
- AK_AllocMemEntry
allocates memory and adds an entry to the list
V37.95 :
--------
- Requester now also can be controlled via keyboard :
- internal FileRequester (only for OS V1.3, not with ASL) :
ESC : Cancel
P : Parent
A : Assigns
1..8 : Select Entry
Return : Confirm
- ModeRequester :
ESC : Cancel
1..8 : Select Entry
Return : Confirm
V37.89 :
--------
- Requester-Type was not set, so memory was not delocated
- completely new memory management for the Requesters
(new, yet internal Routines)
- optimizations inside the Requesters
- Propgadget-Structures now 100% local
- bug in ModeRequester (undefined entries) fixed
V37.87 - V37.88 :
-----------------
- AK_AutoRequester() modificated
- Propgadget-Structures now local/static
V37.85 - V37.86 :
-----------------
- little bug-fixes
- smaller Code-Size
- corrected Documentation
V37.83 :
--------
- major update
- five new functions :
- AK_GetDirList
allocates list for Directory-Content and fills it
- AK_FreeDirList
delocates List with Directory-Content
- AK_GetModeList
allocates list for Screen-Modes and fills it
- AK_FreeModeList
delocates List with Screen-Modes
- AK_ModeRequest
NEW : SCREEN-MODE-REQUESTER !!!
- Use of SAS/C V6.00 :
- better Code (less bytes)
- Include-Files now with "tagcall" Pragmas
(Note : Use Pragmas when possible !
If ANY Pragmas are used, but
the "ak_gen0.library" is used with the Stubs,
you may (will) get Gurus/Alerts !!! )
- new Include-File "ak_gen0_obsolete.h" with old definitions, etc.
- bug-fixes (not many, but nevertheless !)
- and more
[ Version-History of versions before V37 is no longer
included. ]
Copyrights :
============
Some of the mentioned names or products above may be copyrighted by
companies or trademarks of companies.